package com.hxgz.steel.service.Impl;

import com.hxgz.steel.dao.UserMapper;
import com.hxgz.steel.domain.User;
import com.hxgz.steel.service.UserActionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class UserActionServiceImpl implements UserActionService {
    @Autowired
    UserMapper userMapper;

    @Override
    public User findUserByUserName(String userName) {
        return userMapper.findByUserName(userName);
    }
}
